package com.mall.service;

import com.mall.bean.ShopCart;

import java.util.List;

public interface ShopCartService extends Service<ShopCart> {
    List<ShopCart> getShopCartByMemberId(String memberId);

    int addCartGoodsById(String goodsId, String memberId);

    ShopCart getShopCartByMemberIdAndGoodsId(String goodsId, String memberId);

    int addCartGoodsSelectNumById(String goodsId, String memberId,Integer select_num);

    int removeShopItemById(String itemId);

    int batchRemoveShopItemByIdArray(String[] idArray);
}
